<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>登录</title>
</head>
<body>

<h1>用户登录</h1>

<div style="color: red">${desc}</div>

<form action="<%=basePath%>user/toLogin" method="post">
    账号：<input type="text" name="username"> <br/><br/>
    密码：<input type="password" name="password"><br/><br/>
    <input type="submit" value="提交">
</form>




</body>
</html>
